﻿// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证（版本 2.0）进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动！任何基于本项目二次开发而产生的一切法律纠纷和责任，我们不承担任何责任！

using Admin.NET.Core;
using SqlSugar;
namespace Admin.NET.Application.Entity;

/// <summary>
/// 客户管理:客户表
/// </summary>
[Tenant("1300000000001")]
[SugarTable("client", "客户管理:客户表")]
public class Client : EntityBaseDel
{
    /// <summary>
    /// 客户编码
    /// </summary>
    [SugarColumn(ColumnName = "CustomerNumber", ColumnDescription = "客户编码", Length = 32)]
    public virtual string? CustomerNumber { get; set; }
    
    /// <summary>
    /// 客户简称
    /// </summary>
    [SugarColumn(ColumnName = "CustomerAbbreviation", ColumnDescription = "客户简称", Length = 32)]
    public virtual string? CustomerAbbreviation { get; set; }
    
    /// <summary>
    /// 客户简介
    /// </summary>
    [SugarColumn(ColumnName = "CustomerProfile", ColumnDescription = "客户简介", Length = 32)]
    public virtual string? CustomerProfile { get; set; }
    
    /// <summary>
    /// 客户邮箱
    /// </summary>
    [SugarColumn(ColumnName = "CustomerMailbox", ColumnDescription = "客户邮箱", Length = 32)]
    public virtual string? CustomerMailbox { get; set; }
    
    /// <summary>
    /// 联系人1-姓名
    /// </summary>
    [SugarColumn(ColumnName = "ContactNameOne", ColumnDescription = "联系人1-姓名", Length = 32)]
    public virtual string? ContactNameOne { get; set; }
    
    /// <summary>
    /// 联系人2-姓名
    /// </summary>
    [SugarColumn(ColumnName = "ContactNameTwo", ColumnDescription = "联系人2-姓名", Length = 32)]
    public virtual string? ContactNameTwo { get; set; }
    
    /// <summary>
    /// 备注
    /// </summary>
    [SugarColumn(ColumnName = "Remark", ColumnDescription = "备注", Length = 32)]
    public virtual string? Remark { get; set; }
    
    /// <summary>
    /// 客户名称
    /// </summary>
    [SugarColumn(ColumnName = "CustomerName", ColumnDescription = "客户名称", Length = 32)]
    public virtual string? CustomerName { get; set; }
    
    /// <summary>
    /// 客户英文名称
    /// </summary>
    [SugarColumn(ColumnName = "CustomerEnglishName", ColumnDescription = "客户英文名称", Length = 32)]
    public virtual string? CustomerEnglishName { get; set; }
    
    /// <summary>
    /// 客户地址
    /// </summary>
    [SugarColumn(ColumnName = "CustomerAddress", ColumnDescription = "客户地址", Length = 32)]
    public virtual string? CustomerAddress { get; set; }
    
    /// <summary>
    /// 客户电话
    /// </summary>
    [SugarColumn(ColumnName = "CustomerCall", ColumnDescription = "客户电话", Length = 32)]
    public virtual string? CustomerCall { get; set; }
    
    /// <summary>
    /// 联系人1-电话
    /// </summary>
    [SugarColumn(ColumnName = "ContactPhoneOne", ColumnDescription = "联系人1-电话", Length = 32)]
    public virtual string? ContactPhoneOne { get; set; }
    
    /// <summary>
    /// 联系人2-电话
    /// </summary>
    [SugarColumn(ColumnName = "ContactPhoneTwo", ColumnDescription = "联系人2-电话", Length = 32)]
    public virtual string? ContactPhoneTwo { get; set; }
    
    /// <summary>
    /// 出库上限
    /// </summary>
    [SugarColumn(ColumnName = "DeliveryCeiling", ColumnDescription = "出库上限")]
    public virtual int? DeliveryCeiling { get; set; }
    
    /// <summary>
    /// 订单号
    /// </summary>
    [SugarColumn(ColumnName = "ClientOrderNumber", ColumnDescription = "订单号", Length = 32)]
    public virtual string? ClientOrderNumber { get; set; }
    
    /// <summary>
    /// 客户类型
    /// </summary>
    [SugarColumn(ColumnName = "ClientType", ColumnDescription = "客户类型", Length = 32)]
    public virtual string? ClientType { get; set; }
    
    /// <summary>
    /// 客户官网
    /// </summary>
    [SugarColumn(ColumnName = "CustomersOfficialWebsite", ColumnDescription = "客户官网", Length = 32)]
    public virtual string? CustomersOfficialWebsite { get; set; }
    
    /// <summary>
    /// 社会信用代码
    /// </summary>
    [SugarColumn(ColumnName = "SocialCreditCode", ColumnDescription = "社会信用代码", Length = 32)]
    public virtual string? SocialCreditCode { get; set; }
    
    /// <summary>
    /// 联系人1-邮箱
    /// </summary>
    [SugarColumn(ColumnName = "ContactEmailOne", ColumnDescription = "联系人1-邮箱", Length = 32)]
    public virtual string? ContactEmailOne { get; set; }
    
    /// <summary>
    /// 联系人2-邮箱
    /// </summary>
    [SugarColumn(ColumnName = "ContactEmailTwo", ColumnDescription = "联系人2-邮箱", Length = 32)]
    public virtual string? ContactEmailTwo { get; set; }
    
    /// <summary>
    /// 出库下限
    /// </summary>
    [SugarColumn(ColumnName = "LowerlimitOfDelivery", ColumnDescription = "出库下限")]
    public virtual int? LowerlimitOfDelivery { get; set; }
    
    /// <summary>
    /// 是否有效
    /// </summary>
    [SugarColumn(ColumnName = "IsEnabled", ColumnDescription = "是否有效")]
    public virtual bool? IsEnabled { get; set; }
    
}
